<?php

class Bootstrap extends Zend_Application_Bootstrap_Bootstrap
{

    protected function initDoctype()
    {
        $this->bootstrap('view');
        $view = $this->getResource('view');
        $view->doctype('XHTML1_STRICT');
    }

protected function _initRegistry(){
    $this->bootstrap('db');
    $db = $this->getResource('db');
    $db->setFetchMode(Zend_Db::FETCH_OBJ);
    Zend_Registry::set('db', $db);
}

}

